<script lang="ts" setup>
import { toRef } from 'vue'
interface Member {
    id: number
    name: string
    type?: string
    children?: Member[]
}

interface Props {
    children?: Member[]
}
const props = defineProps<Props>()

const arr = toRef(props.children)
const arr1 = props.children
</script>
<template>
    <div>
        <slot name="paneConfig" :data="{
            config: arr1
        }"></slot>
    </div>
</template>